<!--
@author	Yi Bo <etng2004@gmail.com>
@version	$Id: announce_view.php 23 2007-08-28 10:08:53Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<?php
$this->declareVars();
echo $this->render('header.php');
/*$this->dump($this->announce);*/
$announce = $this->announce;
?>
<h3>
<a href="<?php echo $this->base_url;?>/view/id/<?php echo $announce['id']; ?>"><?php echo $announce['title']; ?></a>
</h3>
<?php echo date('Y-m-d', $announce['created_at']); ?>
<hr />
<div class="content">
<?php echo $announce['content']; ?>
</div>
<a href="<?php echo $this->base_url;?>/edit/id/<?php echo $announce['id']; ?>">编辑</a>
<a href="<?php echo $this->base_url;?>/remove/id/<?php echo $announce['id']; ?>">删除</a>
<?php echo $this->render('footer.php');?>